package cn.dansj.common.utils.enums;

public enum DbConnectionStatus {
    normal(1,"正常"),
    abnormal(0,"异常");

    private final int code;
    private final String label;

    DbConnectionStatus(int code, String label) {
        this.code = code;
        this.label = label;
    }

    public int getCode() {
        return code;
    }

    public String getLabel() {
        return label;
    }
}
